package org.scs.carleton.ca.pgdt.core.parser.internal.factory;

import java.util.List;

import org.scs.carleton.ca.pgdt.core.internal.parser.ASTStructure;
import org.scs.carleton.ca.pgdt.core.internal.parser.ASTTranslationUnit;
import org.scs.carleton.ca.pgdt.core.parser.nodes.IASTArgument;
import org.scs.carleton.ca.pgdt.core.parser.nodes.IASTFunctor;
import org.scs.carleton.ca.pgdt.core.parser.nodes.IASTNodeTypes;

/**
 * The StructureFactory is used to create prolog structures
 * 
 * @author tessierj
 *
 */
public class StructureFactory {
	private StructureFactory() {
		
	}
	
	public static ASTStructure createStructure(ASTTranslationUnit translationUnit, IASTFunctor functor, List<IASTArgument> arguments) {
		return new ASTStructure(translationUnit, IASTNodeTypes.STRUCTURE, functor, arguments);
	}
}
